#ifndef GAMECONTROL_H
#define GAMECONTROL_H

#include "Snake.h"
#include "Food.h"
#include "Score.h"

class GameControl {
private:
    Snake snake;
    Food food;
    Score score;
    void drawOtherBlock(int body_x, int body_y, int width, int height, const char* pic);
    bool Collision();
    bool eatFood();
public:
    GameControl();
    void startGame();
    void playGame();
};

#endif